package cn.leedsoft.and.crimeintent.controller.crime_intent;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.Window;
import android.view.WindowManager;
import cn.leedsoft.and.crimeintent.common.SingleFragmentActivity;
@Deprecated//建议使用隐式intent，调用系统相机
public class CrimeCameraActivity extends SingleFragmentActivity {
    @Override
    protected Fragment newFragment() {
        return CrimeCameraFragment.newInstance();
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        //hide title
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        //full screen
        getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
        super.onCreate(savedInstanceState);
    }
}
